﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="edit_comment.aspx.cs" Inherits="btnet.pages.edit_comment" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title id="titl" runat="server">btnet edit comment</title>
<link rel="StyleSheet" href="~/scripts/css/btnet.css" type="text/css">
<script type="text/javascript" language="JavaScript" src="../scripts/jquery/jquery-1.3.2.min.js"></script>
<script type="text/javascript" language="JavaScript" src="../scripts/jquery/jquery-ui-1.6rc2.min.js"></script>
<script type="text/javascript" language="JavaScript" src="../scripts/jquery/jquery.textarearesizer.compressed.js"></script>
<script type="text/javascript" src="../ckeditor/ckeditor.js"></script>
<script>

$(document).ready(do_doc_ready);

function do_doc_ready()
{

<% 
	
	if (use_fckeditor)	
	{
		Response.Write ("CKEDITOR.replace( 'comment' )");
	}
	else
	{
		Response.Write("$('textarea.resizable:not(.processed)').TextAreaResizer()");
	}

%>

}
</script>
</head>
<body>
<% security.write_menu(Response, PluralBugLabel); %>


<div class=align>
<table border=0><tr><td>

<a href=edit_bug.aspx?id=<% Response.Write(Request["bug_id"]);%>>back to <% Response.Write(SingularBugLabel); %></a>
<form id="Form1" class=frm runat="server">

	<table border=0>
		<tr>
		<td colspan=3>
		<textarea rows=16 cols=80 runat="server" class="txt resizable" id="comment"></textarea>

		<tr>
		<td colspan=3>
		<asp:checkbox runat="server" class=cb id="internal_only"/>
		<span runat="server" id="internal_only_label">Visible to internal users only</span>
		</td>
		</tr>

		<tr><td colspan=3 align=left>
		<span runat="server" class=err id="msg">&nbsp;</span>

		<tr>
		<td colspan=2 align=center>
		<input runat="server" class=btn type=submit id="sub" value="Update">

	</table>
</form>
</td></tr></table></div>
<% Response.Write(Application["custom_footer"]); %>
</body>
</html>
